package cn.vawn.exam.service;

import cn.vawn.base.dto.PageDTO;
import cn.vawn.base.dto.RequestPageDTO;
import cn.vawn.exam.entity.QuestionsType;

import java.util.Date;
import java.util.List;

/**
 * Created by Administrator on 2018/5/19 0019.
 */
public interface IQuestionTypeService {
    List<QuestionsType> getAllType();

    PageDTO searchQuestionType(RequestPageDTO requestPageDTO, String typeName, Date startTime, Date endTime);

    int insert(QuestionsType questionsType);

    int update(QuestionsType questionsType);

    QuestionsType selectById(Integer questionId);

    void delete(QuestionsType questionsType);
}
